package ioc;

public class test {
    private Tire tire;
    private Bottom bottom;
    private Framework framework;
    private Car car;
    public test(){
        this.tire=new Tire(12);
        this.bottom=new Bottom(this.tire);
        this.framework=new Framework(this.bottom);
        this.car=new Car(this.framework);
    }

    public static void main(String[] args) {
        test test1=new test();
        test1.car.init();
    }
}
